import request from '@/utils/request'

/**
 * 请求轮播图
 */
export function getBannerList () {
  return request.get('/banner/list')
}
/**
 * 列表数据
 * @param { Object } params { count, limitNum }
 */
export function getProList (params) {
  return request.get('/pro/list', { params })
}

/**
 * 秒杀数据
 * @param { Object } params { count, limitNum }
 */
export function getSeckillList (params) {
  return request.get('/pro/seckilllist', { params })
}
